import httpRequest from '~/service'

const getLoginIn = (params: any) => {
  return httpRequest.post('/api/public/login', params)
}

const getUserInfo = () => {
  return httpRequest.get('api/user/getInfo')
}

export { getLoginIn, getUserInfo }
